package com.yyt.thymeleafdemo.service;

import com.yyt.thymeleafdemo.domain.User;

import java.util.List;

/**
 * @author: yeyangtao
 * @date: 2019/12/24 20:47
 */

public interface UserService {
    void create(User user);

    void deleteById(Long id);

    List<User> search();

    User findById(Long id);

}
